package ar.edu.caece.compiler.grammar.nonterminals;

import ar.edu.caece.compiler.grammar.NonTerminalSymbol;
import ar.edu.caece.compiler.grammar.terminals.IdentifierToken;

public class TEXTO2 extends NonTerminalSymbol implements TEXTO{
	
	private EXPR expr;
	private TEXTOA textoa;

	public TEXTO2(EXPR expr,TEXTOA textoa) {
		super();
		this.expr = expr;
		this.textoa = textoa;
	}

	@Override
	public String getRepresentation() {
		return "{"+this.getClass().getSimpleName()+" -> "+expr.getRepresentation() +" "+textoa.getRepresentation()+"}";

	}

	public TEXTOA getTextoa() {
		return textoa;
	}

}
